import { combineReducers } from 'redux';
import channelReducer from './channel';
import searchReducer from './search';
import userReducer from './user';
import articleReducer from './article';

const rootReducer = combineReducers({
  user: userReducer,
  // 3.
  channel: channelReducer,
  search: searchReducer,
  article: articleReducer,
});

export default rootReducer;
